SocketCore.Connect Method
Attempts to connect. For TCPSockets, the address and port properties must be set.
Syntax
For UDPSockets, the port property must be set. The Connect method binds a socket to a port. After calling Connect, the Port property will report the actual port you are bound to.